#ifndef XBYTEARRAY_H
#define XBYTEARRAY_H

/** \cond docNever */

#include <QtCore>

class XByteArray
{
public:
	explicit XByteArray(){
		_addressNumbers = 4;
	}

	QByteArray & data(){ return _data;}
	void setData(QByteArray data){ _data = data;}

	int size(){return _data.size();}
	int realAddressWidth(){return _addressNumbers;}
	
	QChar asciiChar(int index);

private:
    QByteArray _data;
    int _addressNumbers;                    // wanted width of address area
};

/** \endcond docNever */
#endif // XBYTEARRAY_H
